package com.silver.weibo.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.silver.weibo.entity.Users;
import com.silver.weibo.entity.vo.UserVO;
import com.silver.weibo.entity.vo.ViewBloggerVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;


@Repository
public interface UserMapper extends BaseMapper<Users> {

    public ViewBloggerVO selectBloggerById(@Param("id") Integer id);

    public UserVO selectUserVOById(@Param("id") Integer id);
}
